#ifndef __LED_H__
#define __LED_H__

#include <iom128.h>
#include <inavr.h>
#include "bitop.h"
#include "config.h"

#define led_init()  bit_set(DDRA,BIT0)
#define led_on()    bit_clear(PORTA,BIT0)
#define led_off()   bit_set(PORTA,BIT0)
#define led_flip()  bit_flip(PORTA,BIT0)

void led_blink_fast(void);
void led_blink_slow(void);

#endif
